Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.social.workspace.gadgets.pageproviders--providers

This contribution is part of XML component org.nuxeo.ecm.social.workspace.gadgets.pageproviders inside nuxeo-social-workspace-gadgets-5.8.jar

Extension Point

Extension point providers of component PageProviderService.

Contributed Items

  • <coreQueryPageProvider name="user_socialworkspaces">
          <pattern>
            SELECT *
            FROM SocialWorkspace
            WHERE  ecm:mixinType!='HiddenInNavigation'
                   AND
                   ecm:currentLifeCycleState !='deleted'
          </pattern>
          <sort ascending="true" column="dc:title"/>
          <pageSize>0</pageSize>
        </coreQueryPageProvider>
  • <genericPageProvider class="org.nuxeo.ecm.social.workspace.gadgets.SocialWorkspaceActivityStreamPageProvider" name="social_workspace_activity_stream">
          <pageSize>10</pageSize>
        </genericPageProvider>
  • <genericPageProvider class="org.nuxeo.ecm.social.workspace.gadgets.SocialWorkspaceMiniMessagePageProvider" name="social_workspace_mini_messages">
          <pageSize>5</pageSize>
        </genericPageProvider>
  • <genericPageProvider class="org.nuxeo.ecm.social.workspace.gadgets.SocialWorkspaceMiniMessageActivityPageProvider" name="social_workspace_mini_message_activities">
          <pageSize>5</pageSize>
        </genericPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

    <coreQueryPageProvider name="user_socialworkspaces">
      <pattern>
        SELECT *
        FROM SocialWorkspace
        WHERE  ecm:mixinType!='HiddenInNavigation'
               AND
               ecm:currentLifeCycleState !='deleted'
      </pattern>
      <sort ascending="true" column="dc:title"/>
      <pageSize>0</pageSize>
    </coreQueryPageProvider>

    <genericPageProvider class="org.nuxeo.ecm.social.workspace.gadgets.SocialWorkspaceActivityStreamPageProvider" name="social_workspace_activity_stream">
      <pageSize>10</pageSize>
    </genericPageProvider>

    <genericPageProvider class="org.nuxeo.ecm.social.workspace.gadgets.SocialWorkspaceMiniMessagePageProvider" name="social_workspace_mini_messages">
      <pageSize>5</pageSize>
    </genericPageProvider>

    <genericPageProvider class="org.nuxeo.ecm.social.workspace.gadgets.SocialWorkspaceMiniMessageActivityPageProvider" name="social_workspace_mini_message_activities">
      <pageSize>5</pageSize>
    </genericPageProvider>

  </extension>